package chapter_8.coll;

import chapter_8.map.Person;

public class Test3 {
    public static void main(String[] args) {
        String str = "aa";
        int a = 8;
        Person p = new Person("001","张三",18);

        print(str,a ,p);

        System.out.println(str);
        System.out.println(a);
        System.out.println(p);
    }

    public static void print(String str, int a , Person p){
        str ="bb";
        a = 100;
        p.setName("莉莉丝");
        p.setAge(1000);
        p.setId("10000");
//        p = new Person("002","李四",20);
    }

}
